<form class="search-form" action="/search/" method="post">
  <input value="{{ q }}" name="q" type="text" /> <input name="submit" type="submit" value="Search"/>
</form>